
package mutsumimod.actions;

import com.megacrit.cardcrawl.actions.AbstractGameAction;
import com.megacrit.cardcrawl.powers.AbstractPower;

public class AddPowerAmountAction extends AbstractGameAction {
    private AbstractPower power;
    private int amount;

    public AddPowerAmountAction(AbstractPower power, int amount) {
        this.power = power;
        this.amount = amount;
    }


    public void update() {
        power.amount += amount;
        power.flash();
        isDone = true;
    }

}
